home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / IO Examples / Scrabble / English / ScrabbleHelp < prev   
Encoding:
Text File  |  1997-08-18  |  3.5 KB  |  80 lines  |  [TEXT/3PRM]

  1. \About
  2. \DScrabble
  3.  
  4. \cThis application is developed using the Concurrent Clean System, 
  5. \ca programming environment for the functional programming 
  6. \clanguage Concurrent Clean. This system is developed by the 
  7. \cresearch group Parallel Systems and Computational Models at the
  8. \cUniversity of Nijmegen.
  9.  
  10. \cOriginal program written by Paul de Mast in the functional 
  11. \cprogramming language Amanda.
  12. \cConverted to Clean by the above mentioned research group.
  13.  
  14. \dThe Concurrent Clean System is freelyavailable via FTP for 
  15. \dMacintoshes, Suns, and PCs (OS/2, Windows95)
  16. \d(see ftp.cs.kun.nl and http://www.cs.kun.nl/~clean/).
  17. \EndAbout
  18.  
  19. \Help
  20. \DScrabble Help
  21.  
  22. This game can be played by two persons, or versus the computer, or
  23. the computer versus itself. Players take turns to place words on the 
  24. board. The letters that make up new words are provided by the program
  25. and those that are already on the board. The first word needs one of its 
  26. letters to be placed in the center of the board. Words can be placed across 
  27. or down only. Except for the first word all new words need to adjoin the
  28. current words that are on the board. 
  29.  
  30. To allow the computer to play and to determine the correctness of words 
  31. the program is equipped with a (limited) dictionary. If you intend to place 
  32. new words on the board that do not occur in the dictionary the program 
  33. will ask you to verify the correctness of the word. If confirmed, the new 
  34. words will be added to the dictionary and the game continues with the next
  35. player. If cancelled, no words are added and you need to think of something
  36. new. 
  37.  
  38. If you want to place a word on the board you need to click on the board on the
  39. square where the word should start (this square is hilited from the other
  40. squares). You should fill in the text field after the label "Player Word" with 
  41. the full word. Furthermore you should select the direction in which the new
  42. word should be placed on the board (either the "Horizontal" or "Vertical"
  43. alternative of "Direction"). The word will be placed on the board when the
  44. "Place Word" button has been pressed.  
  45.  
  46. If you are not content with your current set of available letters you can trade 
  47. them all by clearing the text field after the label "Player Word". The program
  48. will then provide you with a new set of letters, but note that your turn is over.
  49.  
  50. The set of available letters is displayed at the left of the game window. 
  51.  
  52. The game is over as soon as there are no more letters available and both players
  53. can't think of any new words. You can ofcourse always start a new game during
  54. a match. 
  55.  
  56. When quitting the program it is checked if any new words have been added to the
  57. dictionary. If this is the case the program will ask you if you want to save them
  58. to the dictionary in order to memorise them. If confirmed they will be added to
  59. the dictionary, if cancelled they are not. If no words were added then the program
  60. simply quits quietly.
  61.  
  62. \bCustomising scrabble
  63. The source code of this program has been set up to be customised to language and
  64. platform. The language and platform independent code is formed by the following
  65. modules:
  66.  
  67. scrabble.icl (the main module)
  68. board.(d/i)cl
  69. graphics.(d/i)cl
  70. state.(d/i)cl
  71. types.(d/i)cl
  72.  
  73. The platform dependent code can be found in the module systemsettings.(d/i)cl.
  74. The language dependent code is formed by the module language.(d/i)cl which contains
  75. the name of the appropriate dictionary file and the help file that you are now
  76. reading. 
  77.  
  78. The scrabble project needs to locate these files. Set up the appropriate paths locating
  79. the platform and language dependent modules and recompile the scrabble program.
  80. \EndHelp